#include <iostream>
#include <sstream>
#include <vector>

using namespace std;
int main()
{
    string str;
    getline(cin, str);
    istringstream in_str(str);
    vector<int> nums;
    int num;
    while (in_str >> num)
    {
        nums.push_back(num);
    }

    for (auto v : nums)
    {
        cout << v << " ";
    }
    cout << endl;

    return 0;
}
